#!/bin/zsh
# 1. 检测仓库有没有更新
# 2. 有-->添加，提交，push
#   没有-->退出
if [ -e $HOME/.oh-my-zsh/custom/alias.zsh ]
then
	source $HOME/.oh-my-zsh/custom/alias.zsh
else
	echo "Necessary file is not exist"
fi

exist=$(config status | grep init.vim)

if [ -n "$exist" ]
then
	echo "nvim repo is not empty"
else
	echo "nvim repo is empty"
fi
